package com.yuedou.jylt.activity;

import androidx.appcompat.app.AppCompatActivity;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import butterknife.Unbinder;

import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.ImageView;

import com.yuedou.jylt.R;
import com.yuedou.jylt.utils.StatusBarUtils;

public class EstateInfoActivity extends AppCompatActivity {


    @BindView(R.id.btn_back)
    ImageView btnBack;

    public static final String TAG = "EstateInfoActivity";
    private Unbinder unbinder;

    private Context context;

    @Override
    protected void onCreate(Bundle savedInstanceState) {

        requestWindowFeature(Window.FEATURE_NO_TITLE);
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_estate_info);
        StatusBarUtils.setWindowStatusBarColor(this);

        unbinder = ButterKnife.bind(this);

        context = EstateInfoActivity.this;

    }


    /**
     *  初始化按钮操作
     */
    @OnClick({R.id.btn_back})
    public void onClick(View view) {
        System.out.println("onClick:" + view.getId());
        switch (view.getId()) {
            //返回
            case R.id.btn_back:
                finish();
                break;
        }
    }

}